package com.scheduler.dao;

import com.scheduler.pojo.AddMessage;
import com.scheduler.pojo.Result;
import com.scheduler.pojo.ResultMessage;
import com.scheduler.pojo.TypeNum;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ResultDao {
    public List<Result> getResult(String type);
    public List<String> getType();
    public void addResult(String str);
    public List<AddMessage> getAdd(String str);
    public List<ResultMessage> getRmess(String str);
    public void addRmess(ResultMessage rm);
    public void addRmessflag(ResultMessage rm);
    public Integer QueryCount(String str);
    public Integer QueryCountTotal();
    public Integer QueryCountTotals();
    public List<TypeNum> DistinctTypeNum();
}